package com.qiwo.webshow.domain;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * <pre>
 *  @author  chenwenchao
 *  @date 2018-10-25 20:19:42
 * 设计师图片管理
 * </pre>
 * <small> 2018-10-25 20:19:42 | chenwenchao</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("tb_designer")
@EqualsAndHashCode(callSuper=true) 
public class DesignerDO  extends Model< DesignerDO> implements Serializable {
	@TableId
	private Long id;

    /** 图片路径 */
    @ApiModelProperty("图片路径")
    @TableField("img_url")
    private String imgUrl;

    /** 标题 */
    @ApiModelProperty("标题")
    @TableField("title")
    private String title;

    private Integer sort;

    /** 设计师介绍 */
    @ApiModelProperty("设计师介绍")
    @TableField("img_intro_with_html")
    private String imgIntroWithHtml;

        @Override
        protected Serializable pkVal(){
            return this.id;
        }
}
